﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MvcApplication.Models;

namespace MvcApplication.Controllers
{
    public class PhongBanController : Controller
    {
        //
        // GET: /PhongBan/

        public ActionResult Index()
        {
            var dataContext = new Winapp111020DataContext();
            var phongbans = from p in dataContext.PhongBanModels
                            select p;
            return View(phongbans);
        }

    }
}
